import config from "@/config"
import http from "@/utils/request"

export default {
	sealChangeConfirm:{
		url: `${config.API_URL}/work/getSealChangeData`,
		name: "获取需要印章接收确认的信息记录",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	sealChangeRecord:{
		url: `${config.API_URL}/work/getChangeRecord`,
		name: "获取相关的印章交接记录",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	receiveDivisionSeal:{
		url: `${config.API_URL}/work/receiveDivisionSeal`,
		name: "接收事业部印章",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	},
	refuseDivisionSeal:{
		url: `${config.API_URL}/work/refuseDivisionSeal`,
		name: "退回事业部印章",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	}
}